package com.backend.service.rbac;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pojo.dto.AuthDTO;
import com.pojo.entity.Auth;
import com.pojo.vo.AuthVO;

import java.util.List;

public interface AuthService extends IService<Auth> {
    void insertAuth(AuthDTO authDTO);

    Integer removeAuth(String name);

    Integer updateAuth(AuthDTO authDTO);

    List<AuthVO> getAllAuth();

    AuthVO getAuthByName(String name);

    Integer updateAuthStatus(Long id, Integer status);
}
